<!DOCTYPE html>
<html>
<head>
  <title></title>
</head>
<body>
<div id="app">
  <h1 @click.ctrl="logWithCtrl" @click="logSingle">没有ctrl别来点我</h1>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>
<script type="text/javascript">
  let vm = new Vue({
    el: '#app',
    methods: {
      logSingle (event) {
        if (!event.ctrlKey) {
          console.log('------------- 分割线 -------------')
          console.log('$event.ctrlKey:', event.ctrlKey)
          console.log('点我干啥，单身汪！')
        } else {
          console.log('不错，进步很快呀！')
        }
      },
      logWithCtrl (event) {
        console.log('------------- 分割线 -------------')
        console.log('$event.ctrlKey:', event.ctrlKey)
        console.log('按住，是的，按住Ctrl！')
      }
    }
  })
</script>
</body>
</html>